package Model;

/**
 *
 * Subclass for Product
 * 
 * @author Group 1
 * @version 2011.03.30.
 */

public class GunReplicas extends Product{
    private String fabric;
    private double calibre;

    /**
     * Constructor
     * 
     * @param name
     * @param purchasePrice
     * @param salesPrice
     * @param rentPrice
     * @param countryOfOrigin
     * @param minStock
     * @param fabric Could be type, like pistol, shotgun, etc.
     * @param calibre Calibre of a gun, like 0.5 0.42 etc.
     */
    public GunReplicas(String name, Supplier supplier, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, String fabric, double calibre) {
        super(name, supplier, purchasePrice, salesPrice, rentPrice, countryOfOrigin, minStock);
        this.fabric = fabric;
        this.calibre = calibre;
    }
	public GunReplicas(int id) { super(id); }

    public double getCalibre() {
        return calibre;
    }

    public void setCalibre(double calibre) {
        this.calibre = calibre;
    }

    public String getFabric() {
        return fabric;
    }

    public void setFabric(String fabric) {
        this.fabric = fabric;
    }
    
    
}
